package com.beaven.beavenime.view

import android.content.Context
import android.view.View

class InputViewControl private constructor() {

    private lateinit var inputView: InputView

    companion object {
        @JvmStatic
        val INSTANCE = InputViewControlHolder.INSTANCE
    }

    private object InputViewControlHolder {
        val INSTANCE = InputViewControl()
    }

    /**
     * 打开输入法的主键盘
     */
    fun getMainInputView(context: Context): View {
        inputView = InputView.inflateInputView(context)
        return inputView
    }
}
